import org.gradle.kotlin.dsl.extra

object Deps {

    const val core_ktx: String = "androidx.core:core-ktx:1.7.0"
    const val appcompat: String = "androidx.appcompat:appcompat:1.4.1"
    const val material: String =  "com.google.android.material:material:1.5.0"
    const val constraint_layout:String = "androidx.constraintlayout:constraintlayout:2.1.3"
    const val navigation_fragment_ktx:String =  "androidx.navigation:navigation-fragment-ktx:2.4.1"
    const val navigation_ui_ktx:String = "androidx.navigation:navigation-ui-ktx:2.4.1"
    const val annotation  = "androidx.annotation:annotation:1.2.0"
    const val activity_ktx  = "androidx.activity:activity-ktx:2.4.1"//在activity中可以便捷获取ViewModel
    const val fragment_ktx  = "androidx.fragment:fragment-ktx:2.4.1"//在fragment中可以便捷获取ViewModel



    const val paging_runtime = "androidx.paging:paging-runtime:${Versions.paging_version}"

    //测试部分
    const val junit_junit: String = "junit:junit:4.13.2"
    const val androidx_test_ext_junit: String = "androidx.test.ext:junit:1.1.3"
    const val espresso_core: String = "androidx.test.espresso:espresso-core:3.4.0"
    const val androidx_test_runner: String = "androidx.test:runner:1.4.0"


    //网络部分
    const val retrofit2_retrofit = "com.squareup.retrofit2:retrofit:2.9.0"
    const val retrofit2_converter_moshi = "com.squareup.retrofit2:converter-moshi:2.9.0"
    const val moshi_moshi_kotlin = "com.squareup.moshi:moshi-kotlin:1.12.0"
    const val moshi_moshi_kotlin_codegen = "com.squareup.moshi:moshi-kotlin-codegen:1.12.0"
    const val okhttp3_logging_interceptor = "com.squareup.okhttp3:logging-interceptor:4.9.1"
    const val preference_ktx = "androidx.preference:preference-ktx:1.1.1"


    const val lifecycle_runtime_ktx ="androidx.lifecycle:lifecycle-runtime-ktx:2.5.0"
    const val lifecycle_viewmodel_ktx ="androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.0"
    const val databinding_runtime = "androidx.databinding:databinding-runtime:7.1.2"
    const val lifecycle_process = "androidx.lifecycle:lifecycle-process:2.3.1"
    const val databinding_compiler = "androidx.databinding:databinding-compiler:7.1.2"
    const val databinding_common = "androidx.databinding:databinding-common::7.1.2"


    //协程
    const val kotlinx_coroutines_core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0"
    const val kotlinx_coroutines_android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0"

    //状态管理
    const val loadsir ="com.kingja.loadsir:loadsir:1.3.8"

    //permissionx 权限请求管理
    const val permissionx = "com.guolindev.permissionx:permissionx:1.6.0"


    //核心库coil(图片处理)
    const val coil =  "io.coil-kt:coil:1.2.2"
    //选择添加coil
    const val coil_gif = "io.coil-kt:coil-gif:1.2.2"//支持GIF
    const val coil_svg = "io.coil-kt:coil-svg:1.2.2"//支持SVG
    const val coil_video = "io.coil-kt:coil-video:1.2.2"//支持Video


    //compose开发需要的类
    const val activity_compose="androidx.activity:activity-compose:1.4.0"
    const val compose_ui ="androidx.compose.ui:ui:${Versions.compose_ui_version}"
    const val compose_ui_tooling_preview = "androidx.compose.ui:ui-tooling-preview:${Versions.compose_ui_version}"
    const val compose_ui_test_junit4 = "androidx.compose.ui:ui-test-junit4:${Versions.compose_ui_version}"
    const val compose_ui_test_manifest ="androidx.compose.ui:ui-test-manifest:${Versions.compose_ui_version}"
    const val compose_material = "androidx.compose.material:material:1.2.0"

    //Room
    const val room_runtime = "androidx.room:room-runtime:${Versions.room_version}"
    const val room_compiler = "androidx.room:room-compiler:${Versions.room_version}"
    const val room_rxjava2 = "androidx.room:room-rxjava2:${Versions.room_version}"
    const val room_rxjava3 =  "androidx.room:room-rxjava3:${Versions.room_version}"
    const val room_guava =  "androidx.room:room-guava:${Versions.room_version}"
    const val room_testing =  "androidx.room:room-testing:${Versions.room_version}"
    const val room_paging = "androidx.room:room-paging:${Versions.room_version}"
    const val room_ktx = "androidx.room:room-ktx:${Versions.room_version}"


    //hilt注解框架
    const val hilt_android_compiler = "com.google.dagger:hilt-android-compiler:2.44"
    const val hilt_android = "com.google.dagger:hilt-android:2.44"


    // 刷新框架
    const val refresh_layout_kernel = "com.scwang.smart:refresh-layout-kernel:2.0.3"//核心必须依赖
    const val refresh_header_classics = "com.scwang.smart:refresh-header-classics:2.0.3" //经典刷新头
    const val refresh_footer_classics = "com.scwang.smart:refresh-layout-kernel:2.0.3"//经典加载尾



}